package com.wang.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商铺收藏表
 * @TableName shop_collection
 */
@TableName(value ="shop_collection")
@Data
public class ShopCollection {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 商铺id
     */
    @TableField(value = "shop_id")
    @ApiModelProperty(value = "商铺id")
    private Long shopId;

    /**
     * 创建时间【也是收藏时间】
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间【也是收藏时间】")
    private Date createTime;
}